#
# (c) 2006 Travis F Vachon
#
# This software is distributable under the terms of the GNU
# General Public License (GPL) v2, the text of which can be found at
# http://www.gnu.org/copyleft/gpl.html. Installing, importing or otherwise
# using this module constitutes acceptance of the terms of this License.
#
# Disclaimer
# 
# This software is provided "as-is".  There are no expressed or implied
# warranties of any kind, including, but not limited to, the warranties
# of merchantability and fittness for a given application.  In no event
# shall Travis Vachon be liable for any direct, indirect, incidental,
# special, exemplary or consequential damages (including, but not limited
# to, loss of use, data or profits, or business interruption) however
# caused and on any theory of liability, whether in contract, strict
# liability or tort (including negligence or otherwise) arising in any way
# out of the use of this software, even if advised of the possibility of
# such damage.


node_list = ['delidia','epirus','andaluza','africander']
UPPER_LOAD_THRESHOLD = 0.5
LOWER_LOAD_THRESHOLD = 0.5
XENBAL_PORT = 8069
#Optimum amount of time to observe load information for get_load
#(Determined empirically)
OPT_LOAD_TIME = 0.2
OPT_LOAD_TIME_N = OPT_LOAD_TIME * 1000000000
FULLY_LOADED = 0.95
PEER_UPPER_LOAD_THRESHOLD = 0.70 * OPT_LOAD_TIME_N
PEER_LOWER_LOAD_THRESHOLD = 0.30 * OPT_LOAD_TIME_N
UPDATER_WAIT_TIME = 0.4
